import fs from 'fs'
const fsmodule = fs.promises
export const isExistFile = (filepath) => {
  return fsmodule
    .access(filepath)
    .then(() => true)
    .catch(() => false)
}
